<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Insert title here</title>
        <script type="text/javascript">
        	var varframe1="frame1 variii hehe ";
			//1.
			parent.frame2.document.location="frame2.html";
			
			//2.
			//parent.frame2.document.open();
			//parent.frame2.document.write("this is frame 2 new ");
			//parent.frame2.document.close();
			
			function doAlert(){
				alert("frame 2 is loaded!");
			}
        </script>
    </head>
    <body>
    	this is frame 1.
		<p>
			parent.variii.value=======???
			<br>
			<strong>
				<script type="text/javascript">
					document.write(parent.variii);
				</script>
			</strong>
		</p>
	</body>
</html>
